package com.xy.blog.article.domain.dao.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2020/5/31
 */
@Data
@Table(name = "t_article_content")
public class ArticleContentDO {


    @Id
    private Long id;

    @Column(name = "article_id")
    private Long articleId;

    @Column(name = "content")
    private String content;

    @Column(name = "content_html")
    private String contentHtml;


    @Column(name = "create_time")
    private LocalDateTime createTime;


    @Column(name = "update_time")
    private LocalDateTime updateTime;
}
